package ClassWork5;

// 全职员工类
public class FullTimeEmployee extends Employee {
    private double annualBonus;

    public FullTimeEmployee(String name, int id, double salary, double annualBonus) {
        super(name, id, salary);
        this.annualBonus = annualBonus;
    }

    public double getAnnualBonus() {
        return annualBonus;
    }
}
